package cn.iocoder.yudao.module.shop.dal.dataobject.itemconsume;

import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

@TableName("shop_item_consume")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ShopItemConsumeDO extends BaseDO {
    /**
     * 编号
     */
    @TableId
    private Long id;

    /**
     * 项目id
     */
    private Long itemId;

    /**
     * 库存id
     */
    private Long storeId;

    /**
     * 消耗数量
     */
    private Integer count;

    private Long tenantId;
}
